package cn.datawin.routeserver.input.machine;

import cn.datawin.common.state.template.SimpleTemplate;
import cn.datawin.routeserver.input.action.CheckAction;
import cn.datawin.routeserver.input.action.FilterAction;
import cn.datawin.routeserver.input.action.SubmitAction;

/**
 * Created by hyygavin on 2018/3/14.
 */
public class InputState {
    public static final String CHECK = "check";//检测
    public static final String FILTER = "filter";//过滤
    public static final String SUBMIT = "submit";//提交

	public static SimpleTemplate check( ) {
		return new SimpleTemplate(CHECK, new CheckAction());
	}

	public static SimpleTemplate filter() {
		return new SimpleTemplate(FILTER, new FilterAction());
	}

	public static SimpleTemplate submit() {
		return new SimpleTemplate(SUBMIT, new SubmitAction());
	}

}
